// [[ OnflowGenerator File UUID: a4364eb9eddd4ac2bcb0ed8b4759f062  ]]
package com.itdct.onflow.system.monitor.mapper;

import com.itdct.onflow.core.mapper.BaseMapper;
import com.itdct.onflow.system.monitor.entity.SysMachineReportEntity;
import com.itdct.onflow.system.monitor.qo.SysMachineReportSearchQo;
import com.itdct.onflow.system.monitor.vo.SysMachineReportDetailVo;
import com.itdct.onflow.system.monitor.vo.SysMachineReportListVo;

import org.apache.ibatis.annotations.Mapper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.Date;
import java.util.List;

/**
 * @author DCTANT
 * @date 2025-10-16 09:59:44
 * @version 1.0
 * @description 服务器监控数据上报查询工具
 */
@Mapper
public interface
SysMachineReportMapper extends BaseMapper<SysMachineReportEntity> {
    @Nullable
    SysMachineReportDetailVo findById(Long id);

    @NotNull
    List<SysMachineReportListVo> findByList(SysMachineReportSearchQo qo);

    void deleteExpireData(@NotNull Date time);

    @NotNull List<SysMachineReportListVo> findLastLineChart(@NotNull SysMachineReportSearchQo qo);

// [[ OnflowGenerator Range (- selectFunctions -) Start ]]

// [[ OnflowGenerator Range (- selectFunctions -) End ]]

}
